<%--
  Created by IntelliJ IDEA.
  User: empty
  Date: 2025/5/21
  Time: 22:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>管理员面板</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        #app {
            background-color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 450px;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        #app:hover {
            transform: translateY(-5px);
        }

        .admin-header {
            background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
            color: white;
            padding: 30px;
            text-align: center;
            margin-bottom: 20px;
        }

        .admin-header h2 {
            font-size: 28px;
            margin-bottom: 5px;
        }

        .admin-header p {
            font-size: 14px;
            opacity: 0.8;
        }

        .admin-menu {
            padding: 20px 30px;
        }

        .admin-menu form {
            margin-bottom: 15px;
        }

        .admin-menu button {
            width: 100%;
            padding: 18px 20px;
            border: none;
            border-radius: 10px;
            background-color: #f1f3f5;
            color: #343a40;
            font-size: 16px;
            text-align: left;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
        }

        .admin-menu button:hover {
            background-color: #e9ecef;
            transform: translateX(5px);
        }

        .admin-menu button i {
            margin-right: 15px;
            font-size: 20px;
            width: 25px;
            text-align: center;
        }

        .admin-menu form:nth-child(1) button i:before {
            content: '🩺';
        }

        .admin-menu form:nth-child(2) button i:before {
            content: '📢';
        }

        .admin-menu form:nth-child(3) button i:before {
            content: '👥';
        }

        .admin-menu form:nth-child(4) button i:before {
            content: '🚪';
        }

        .admin-menu form:nth-child(4) button {
            color: #dc3545;
            margin-top: 30px;
        }

        .admin-menu form:nth-child(4) button:hover {
            background-color: #f8d7da;
        }

        .admin-footer {
            text-align: center;
            padding: 15px;
            font-size: 13px;
            color: #6c757d;
            border-top: 1px solid #f1f3f5;
        }
    </style>
</head>
<body>
<div id="app">
    <div class="admin-header">
        <h2>管理员面板</h2>
        <p>欢迎回来，系统管理员</p>
    </div>
    <div class="admin-menu">
        <form action="user-community" method="post">
            <input type="hidden" name="action" value="healthInformation">
            <button type="submit"><i></i>健康信息管理</button>
        </form>
        <form action="user-community" method="post">
            <input type="hidden" name="action" value="Message">
            <button type="submit"><i></i>公告信息发布</button>
        </form>
        <form action="user-community" method="post">
            <input type="hidden" name="action" value="userManagement">
            <button type="submit"><i></i>社区人员管理</button>
        </form>
        <form action="user-community" method="post">
            <input type="hidden" name="action" value="Logout">
            <button type="submit"><i></i>安全退出登录</button>
        </form>
    </div>
    <div class="admin-footer">
        <p>社区管理系统 &copy; 2025</p>
    </div>
</div>
</body>
</html>

